package homework04;

public class Medicine {
	private int addlife;
	private String name;
	public Medicine(int addlife, String name) {
		super();
		this.addlife = addlife;
		this.name = name;
	}
	public int getAddlife() {
		return addlife;
	}
	public void setAddlife(int addlife) {
		this.addlife = addlife;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	
}
